<template>
  <div id="sddDepart">
    <table>
      <tr>
        <td>部门编号</td>
        <td><el-input v-model="depart.departCode"></el-input></td>
      </tr>
      <br>
      <tr>
        <td>部门名称</td>
        <td><el-input v-model="depart.departName"></el-input></td>
      </tr>
      <br>
      <tr>
        <td>部门分类</td>
        <td><el-select v-model="depart.departTypeId">
            <el-option>test</el-option>
            <el-option>test</el-option>
          </el-select></td>
      </tr>
      <br>
      <tr>
        <td>负责人</td>
        <td><el-select v-model="depart.employeeId">
            <el-option>test</el-option>
            <el-option>test</el-option>
          </el-select></td>
      </tr>
      <br>
      <tr>
        <td>备注</td>
        <td><el-input v-model="depart.remark"></el-input></td>
      </tr>
      <br>
    </table>
  </div>
</template>

<script>
export default {
  name: 'AddDepart',
  data() {
    return {
      depart: {
        departCode: '',
        departName: '',
        employeeId: '',
        departTypeId: '',
        remark: '',
      },

    }
  },
}
</script>

<style scoped>
#addDepart {
  width: 100%;
  height: 200px;
  /* overflow: scroll; */
  /* background-color: pink; */
}

#contact {
  width: 90%;
  margin: auto;
  border-collapse: collapse;
  color: #707276;
}

#contact th,
#contact td {
  border: 1px #c0c4cc solid;
  height: 35px;
  min-width: 30px;
}

p {
  color: #4b4a4a;
  font-size: 18px;

}

.el-input {
  width: 240px;
}

table td :not([id=contact]) {
  text-align: left;
  padding-right: 10px;
  /* padding-top: 10px;
  padding-bottom: 10px; */
}

td:nth-child(odd) {
  text-align: center;
  padding-right: 10px;
}
</style>